using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace IronSvn
{
   public class ExampleBase
   {
      public void Test()
      {
         SvnResult result;
         string repo = Path.GetTempFileName() + @"\";
         repo = repo.Replace(".", "");
         string local = Path.GetTempFileName() + @"\";
         local = local.Replace(".", "");

         repo = "file:///" + repo.Replace('\\', '/');

         Console.WriteLine("Running example with:\nSVNURL={0}\nPATH={1}\n", repo, local);

         result = RunTest(repo, local);
      }

      public virtual SvnResult RunTest(string repo, string local)
      {
         return null;
      }

      protected virtual void Finish(SvnClient client, string repo, string local)
      {
      }
   }
}
